package Messages;

import java.io.Serializable;
/**
 * Message add folder to watcher
 * @author Guy & Liel
 *
 */
public class AddToWatcherMsg implements Msg,Serializable
{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String folderName;
	private int folderId;
	/**
	 * Constructor of add to wacher message
	 * @param folderName
	 * @param folderId
	 */
	public AddToWatcherMsg(String folderName, int folderId) {
		super();
		this.folderName = folderName;
		this.folderId = folderId;
	}
	/**
	 * get folder name
	 * @return String
	 */
	public String getFolderName() {
		return folderName;
	}
	
	@Override
	/**
	 * get type message
	 */
	public MsgType getType() {
		// TODO Auto-generated method stub
		return MsgType.WATCH;
	}
	/**
	 * Get folder ID
	 * @return int
	 */
	public int getFolderId() {
		return folderId;
	}

}
